package wnxy.wn44.shopwn.service;

import com.github.pagehelper.PageInfo;
import wnxy.wn44.shopwn.entity.Perm;
import wnxy.wn44.shopwn.entity.User;


import java.util.List;

public interface UserService {

    int saveUser(User user);

    boolean deleteById(Integer userid);

    int updateUser(User user);

    User findById(Integer id);

    PageInfo<User> findByPage(Integer pageNum, Integer pageSize);

    List<User> findByCondition(User user);

    List<Perm> findByJointQuery(int parseInt);
}
